isIdCardValidate = function(idCard) {
	if (isEmpty(idCard)) {
		return false;
	} else {
		var idcardReg = /^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/;
		return idcardReg.test(idCard)
	}
}

isPhoneValidate=function (phoneInput) {
    return (isEmpty(phoneInput) || !/^[1][3,4,5,7,8][0-9]{9}$/.test(phoneInput)) ? false :true;
}

isEmpty=function(obj){
	return (obj == null || obj == "" || typeof (obj) == "undefined") ? true : false;
}

isAmt=function(amt){
	return ( /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(amt)) ? true :false;
}